const fs = require('fs')

fs.rename('./text.txt','test.md',err=>{
    if(err)throw err
    console.log('done!')
})
